<?php
	class ajax_moderatorsAjax
	{
		private $mQuery;
		
		public function __construct()
		{
			$this -> mQuery = new moderatorsQuery();
		}
		
		public function deleteModerator()
		{
			$this -> mQuery -> deleteModerator($_POST['moderator_id']);
			
			echo json_encode('ok');
		}
	}
?>